This is the entire scene code for the scene titled “The Grand Finale.” It is extremely simple. When the player clicks the object that fills the scene, some text is printed, and an bit of simple animation is executed. The animation is created using several drawings. Each one is a seperate object, all of them are in the scene at the beginning, with the top layers hiding the ones below. As the objects are moved to storage one by one, starting from the top, it creates an illusion of movement. Finally, the player is moved to storage, ending the game:
IF{CLICK$=END.1}THEN
PRINT{RAY: "And remember, always end your games with a bang -- like this!"}
SOUND{WOOSH.1}
MOVE{END.1}TO{STORAGE@}
MOVE{END.2}TO{STORAGE@}
MOVE{END.3}TO{STORAGE@}
SOUND{BOOM}
MOVE{END.4}TO{STORAGE@}
MOVE{END.5}TO{STORAGE@}
MOVE{END.6}TO{STORAGE@}
MOVE{END.7}TO{STORAGE@}
MOVE{END.8}TO{STORAGE@}
MOVE{END.9}TO{STORAGE@}
PRINT{Good luck, and happy gaming!}
MOVE{PLAYER@}TO{STORAGE@}
EXIT
Just in case the player tries to attack, the statement below tests for entry of any “attack” verbs, and prints a response: